package com.nthink.indicators.mapper.operationindex;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.nthink.indicators.pojo.hospitalindicators.HospitalIncome;
import com.nthink.indicators.pojo.operationindex.assetoperation.AssetData;
import org.apache.ibatis.annotations.Mapper;

import java.util.Date;
import java.util.List;

/**
 *
 */
@Mapper
public interface AssetMapper extends BaseMapper<AssetData> {


    /**
     * 门诊医保收入
     *
     * @param startTime
     * @param endTime
     * @return
     */
    public double getOutMedicalInsuranceIncome(Date startTime, Date endTime);


    /**
     * 住院医保收入
     *
     * @param startTime
     * @param endTime
     * @return
     */
    public double getInMedicalInsuranceIncome(Date startTime, Date endTime);


    /**
     * 医疗服务收入
     *
     * @param startTime
     * @param endTime
     * @return
     */
    public List<HospitalIncome> getHospitalIncome(Date startTime, Date endTime);

}
